const room_types=['房间','卫生间','步梯','电梯','电梯步梯','连廊','隔断间','厅','空白'];
//0'办公室',1'卫生间',2'步梯',3'电梯',4'电梯步梯',5'连廊',6'隔断间',7'厅',8'空白'
const room_class=['work','public','public','public','public','public','splitroom','hall','blank'];
const bd_types=['work','lab','classroom'];
const buildings={
	'A':{length:21,type:'行政楼',name:'德正楼',data:[
		[
			[[2,1],[1,2],2,2,2,[3,7],[1,3],[1,2],2,1,2,[1,5],[1,8]],//1层北面
			[[1,8],2,2,1,1,1,1,[3,8],1,1,3,3]//1层南面
		],
		[
			[[2,1],[1,2],2,2,2,2,1,[1,3],[1,2],2,1,2,[1,5],[1,8]],//2层北面
			[[1,8],6,1,1,[3,8],2,3,3]//2层南面
		],
		[
			[[2,1],[1,2],2,2,1,4,[1,3],[1,2],3,2,[1,5],[1,8]],//3层北面
			[[1,8],2,3,1,1,2,1,3,3,3]//3层南面
		],
		[
			[[2,1],[1,2],2,2,2,3,[1,3],[1,2],2,1,2,2],//4层北面
			[[1,8],2,2,1,1,1,2,1,2,2,1,2,2]//4层南面
		],
		[
			[[2,1],[1,2],2,2,2,3,[1,3],[1,2],2,1,2,2],//5层北面
			[[1,8],2,2,1,1,1,2,1,2,2,1,2,2]//5层南面
		],
		[
			[[2,1],[1,2],2,2,2,3,[1,3],[1,2],2,1,2,2],//6层北面
			[[1,8],2,2,1,1,1,2,1,2,2,1,2,2]//6层南面
		]
		]},
	'C':{length:17,type:'行政楼',name:'德信楼',data:[
		[
			[[1,2],[1,3],8,2,2,[1,2],[2,1]],
			[[1,8],[4,7],2,2,1,1,2,2,[1,5]],
		],
		[
			[[1,2],[1,3],1,2,2,3,2,2,[1,2],[2,1]],
			[[1,8],2,2,1,1,2,2,2,2,[1,5]]
		],
		[
			[[1,2],[1,3],1,2,2,3,2,2,[1,2],[2,1]],
			[[1,8],2,2,1,1,2,1,1,2,2,[1,5]]
		],
		[
			[[1,2],[1,3],1,2,2,3,2,2,[1,2],[2,1]],
			[[1,8],2,2,1,1,2,1,1,2,2,[1,6]]
		],
		[
			[[1,2],[1,3],1,2,2,3,2,2,[1,2],[2,1]],
			[[1,8],2,2,1,1,2,1,1,2,2,1]
		],
		[
			[[1,2],[1,3],1,2,2,3,2,2,[1,2],[2,1]],
			[[1,8],2,2,1,1,2,1,1,2,2,1]
		]
	]},
	'D':{length:14,type:'行政楼',name:'德馨楼',data:[
		[
			[[2,8],10,[2,1]],
			[[2,4],9,[1,8],[2,2]]
		],
		[
			[[2,8],[1,5],3,2,1,1,2,[2,1]],
			[[2,4],1,2,1,2,1,1,1,[1,8],[2,2]]
		],
		[
			[[2,8],[1,5],2,1,2,1,3,[2,1]],
			[[2,4],1,2,1,2,2,1,[1,8],[2,2]]
		],
		[
			[[2,6],2,2,2,1,3,[2,1]],
			[[2,4],1,2,1,2,2,1,[1,8],[2,2]]
		],
		[
			[[2,6],1,3,3,3,[2,1]],
			[[2,4],1,2,3,3,[1,8],[2,2]]
		],
		[
			[[2,6],1,1,2,2,1,3,[2,1]],
			[[2,4],2,1,1,2,2,1,[1,8],[2,2]]
		]
	]},
	'F':{length:14,type:'行政楼',name:'德惠楼',data:[
		[
			[[2,4],8,1,1,[2,1]],
			[[2,8],11,[1,2]]
		],
		[
			[[2,4],3,1,2,2,1,1,[2,1]],
			[[2,6],[1,5],1,1,1,1,1,2,2,1,[1,2]]
		],
		[
			[[2,4],2,2,2,2,1,1,[2,1]],
			[[1,6],[1,6],[1,5],2,1,2,2,2,1,[1,2]]
		],
		[
			[[2,4],2,2,[4,7],1,1,[2,1]],
			[[2,6],2,2,2,2,2,1,[1,2]]
		],
		[
			[[2,4],2,2,2,2,1,1,[2,1]],
			[[2,6],1,1,1,1,1,2,1,1,1,1,[1,2]]
		],
		[
			[[2,4],1,1,1,1,1,1,1,1,1,1,[2,1]],
			[[2,6],2,2,2,2,2,1,[1,2]]
		]
	]},
	'S1':{length:14,type:'实验楼',name:'知会楼',data:[
		[
			[[2,1],1,5,[4,7],[2,2]],
			[[2,2],[1,8],5,2,2,[2,8]]
		],
		[
			[[2,1],1,4,4,[1,5],[2,2]],
			[[2,2],[1,8],4,4,1,[2,8]]
		],
		[
			[[2,1],1,4,4,[1,5],[2,2]],
			[[2,2],[1,8],4,4,1,[2,8]]
		],
		[
			[[2,1],1,4,4,1,[2,2]],
			[[2,2],[1,8],4,5,[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
	]},
	'S3':{length:14,type:'实验楼',name:'知化楼',data:[
		[
			[[2,1],1,7,2,[2,2]],
			[[2,2],[1,8],5,2,2,[2,8]]
		],
		[
			[[2,1],1,4,4,[1,5],[2,2]],
			[[2,2],[1,8],4,4,1,[2,8]]
		],
		[
			[[2,1],1,4,4,[1,5],[2,2]],
			[[2,2],[1,8],3,2,2,2,[2,8]]
		],
		[
			[[2,1],1,4,4,1,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
	]},
	'S5':{length:14,type:'实验楼',name:'求索楼',data:[
		[
			[[2,2],5,4,1,[2,1]],
			[[2,8],9,[1,8],[2,2]]
		],
		[
			[[2,2],[1,5],4,4,1,[2,1]],
			[[2,8],1,4,4,[1,8],[2,2]]
		],
		[
			[[2,2],[1,5],4,4,1,[2,1]],
			[[2,8],1,4,4,[1,8],[2,2]]
		],
		[
			[[2,2],5,4,1,[2,1]],
			[[2,8],5,4,[1,8],[2,2]]
		],
		[
			[[2,2],5,4,1,[2,1]],
			[[2,8],5,4,[1,8],[2,2]]
		],
	]},
	'S2':{length:14,type:'实验楼',name:'躬行楼',data:[
		[
			[[2,1],1,4,5,[2,2]],
			[[2,2],[1,8],4,5,[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,3,[1,5],[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],4,4,[1,5],[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
	]},
	'S4':{length:14,type:'实验楼',name:'劳作楼',data:[
		[
			[[2,1],1,9,[2,2]],
			[[2,2],[1,8],9,[2,8]]
		],
		[
			[[2,1],1,4,5,[2,2]],
			[[2,2],[1,8],4,4,[1,5],[2,8]]
		],
		[
			[[2,1],1,4,5,[2,2]],
			[[2,2],[1,8],4,4,[1,5],[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
		[
			[[2,1],1,5,4,[2,2]],
			[[2,2],[1,8],5,4,[2,8]]
		],
	]},
	'S6':{length:14,type:'实验楼',name:'修业楼',data:[
		[
			[[2,2],9,1,[2,1]],
			[[2,8],9,[1,8],[2,2]]
		],
		[
			[[2,2],1,4,4,1,[2,1]],
			[[2,8],[1,5],4,4,[1,8],[2,2]]
		],
		[
			[[2,2],1,4,4,1,[2,1]],
			[[2,8],[1,5],4,4,[1,8],[2,2]]
		],
		[
			[[2,2],9,1,[2,1]],
			[[2,8],9,[1,8],[2,2]]
		],
		[
			[[2,2],5,4,1,[2,1]],
			[[2,8],5,4,[1,8],[2,2]]
		],
	]},
	'S7C':{length:12,type:'实验楼',name:'双创综合楼',data:[
		[
			[[2,1],1,1,6,[1,2],[1,1]],
			[[2,3],[1,2],2,[5,7],2]
		],
		[
			[[2,1],2,1,1,1,1,1,1,[1,2],[1,1]],
			[[2,3],[1,2],2,1,2,2,2]
		],
		[
			[[2,1],2,2,2,2,[1,2],[1,1]],
			[[2,3],[1,2],1,2,2,2,2]
		],
		[
			[[2,1],2,1,1,1,1,2,[1,2],[1,1]],
			[[2,3],[1,2],2,1,1,1,2,2]
		],
		[
			[[2,1],2,1,1,1,1,1,1,[1,2],[1,1]],
			[[2,3],[1,2],1,1,1,1,1,2,1,1]
		],
	]},
	'S7Z':{length:19,type:'实验楼',name:'智能工程',data:[
		[
			[[2,1],1,[2,3],7,[1,2]],
			[[2,8],[1,1],1,[8,7],1],
		],
		[
			[[2,1],1,[2,3],7,[1,2]],
			[[2,8],[1,1],1,[8,7],1],
		],
		[
			[[2,1],1,[2,3],[7,8],[1,2]],
			[[5,7],[7,8],1],
		],
		[
			[[2,1],1,[2,3],4,3,[1,2]],
			[[2,8],[1,1],1,3,4,2],
		],
		[
			[[2,1],1,[2,3],4,3,[1,2],2,4],
			[[2,8],[1,1],1,3,4,1,3,4],
		],
	]},
	'S7T':{length:14,type:'实验楼',name:'土木工程',data:[
		[
			[[2,1],4,2,2,2,1,[1,2]],
			[14]
		],
		[
			[[2,1],2,2,2,2,2,1,[1,2]],
			[[14,8]]
		],
		[
			[[2,1],2,2,2,2,2,1,[1,2]],
			[[14,8]]
		],
		[
			[[2,1],2,2,4,3,[1,2]],
			[5,3,2,2,2]
		]
	]},
};